package com.nine.IService;

import java.util.List;

import com.nine.entity.Order;

public interface OrderService {
	boolean updateAccount(String customerId, int point);

	boolean insertOrder(Order order);

	boolean checkRelation(String customerId);

	List<Order> getOrderList(String customerId, String beginDate,
			String endDate, int isPay);

	Order getOrder(String customerId, int orderId);

	List<Order> getOrderList(int orderId, String customerId, String orderTime);

	List<Order> refreshOrderList(Order order);

	List<Order> getOrderId(String beginTime, String endTime, int categoryId);

	Order checkOrder(int orderId);

}
